using System;
using System.Collections.Generic;
using System.Text;

namespace BTreeSharp
{
    public interface IByteConverter
    {
        bool CanConvert(Type t,out int howManyBytes);
        byte[] Convert(object o);
        object Rehydrate(byte[] b, Type expected);
    }
}
